package com.ciban.smarthome.module.entity;

import java.io.Serializable;

/**
 * Created by wdl on 2015/11/5.
 * 设备的实体类
 */
public class Equipment implements Serializable{
    private String id;
    private int type; //类型
    private int serial_no;
    private String name;
    private String icon_path;
    private String area_id;

    public Equipment() {
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getSerial_no() {
        return serial_no;
    }

    public void setSerial_no(int serial_no) {
        this.serial_no = serial_no;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIcon_path() {
        return icon_path;
    }

    public void setIcon_path(String icon_path) {
        this.icon_path = icon_path;
    }

    public String getArea_id() {
        return area_id;
    }

    public void setArea_id(String area_id) {
        this.area_id = area_id;
    }

    @Override
    public String toString() {
        return "Equipment{" +
                "id='" + id + '\'' +
                ", type=" + type +
                ", serial_no=" + serial_no +
                ", name='" + name + '\'' +
                ", icon_path='" + icon_path + '\'' +
                ", area_id='" + area_id + '\'' +
                '}';
    }
}
